import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity()
export class Menu {
    @PrimaryGeneratedColumn()  // 自增主键
    menu_id: number;


    @Column({length: 45})
    parent_id:string;

    @Column({length: 45})
    status:string;

    @Column({length: 45})
    menu_name:string;

    @Column({length: 45})
    path:string;

    @Column({length: 45})
    component:string;
}
